package cn.hicard.auth.entity;

/**
 * MgSource entity. @author MyEclipse Persistence Tools
 */

public class MgSource implements java.io.Serializable {

	// Fields

	private Integer pkSource;
	private String controlid;
	private String sourcename;
	private String sourcetype;
	private Integer parentid;

	// Constructors

	/** default constructor */
	public MgSource() {
	}

	/** full constructor */
	public MgSource(String controlid, String sourcename, String sourcetype,
			Integer parentid) {
		this.controlid = controlid;
		this.sourcename = sourcename;
		this.sourcetype = sourcetype;
		this.parentid = parentid;
	}

	// Property accessors

	public Integer getPkSource() {
		return this.pkSource;
	}

	public void setPkSource(Integer pkSource) {
		this.pkSource = pkSource;
	}

	public String getControlid() {
		return this.controlid;
	}

	public void setControlid(String controlid) {
		this.controlid = controlid;
	}

	public String getSourcename() {
		return this.sourcename;
	}

	public void setSourcename(String sourcename) {
		this.sourcename = sourcename;
	}

	public String getSourcetype() {
		return this.sourcetype;
	}

	public void setSourcetype(String sourcetype) {
		this.sourcetype = sourcetype;
	}

	public Integer getParentid() {
		return this.parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

}
